package com.tcs.model.porxypool;

import java.io.Serializable;

/**
 * 请求参数
 * 
 * @author wangbo
 */
public class RequestParamsBean implements Serializable {

	private static final long serialVersionUID = 1L;
	
	// URl
	private String url;
	
	// 是否继续往下搜寻
	private boolean againSearch;
	
	// 处理规则
	private String rule;

	// cron表达式
	private String cron;

	// 正则表达式
	private String regular;

	// 页数
	private Integer page;

	// 线程个数
	private Integer threadNum;

	// job名称
	private String jobName;

	// job组
	private String jobGroup;

	// 超时时间
	private Integer timeOut;

	// Host
	private String host;

	// 重试次数
	private Integer retriesNum;
	
	// 临时的URL
	private String tmepUrl;

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getCron() {
		return cron;
	}

	public void setCron(String cron) {
		this.cron = cron;
	}

	public String getRegular() {
		return regular;
	}

	public void setRegular(String regular) {
		this.regular = regular;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getThreadNum() {
		return threadNum;
	}

	public void setThreadNum(Integer threadNum) {
		this.threadNum = threadNum;
	}

	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}

	public String getJobGroup() {
		return jobGroup;
	}

	public void setJobGroup(String jobGroup) {
		this.jobGroup = jobGroup;
	}

	public Integer getTimeOut() {
		return timeOut;
	}

	public void setTimeOut(Integer timeOut) {
		this.timeOut = timeOut;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public Integer getRetriesNum() {
		return retriesNum;
	}

	public void setRetriesNum(Integer retriesNum) {
		this.retriesNum = retriesNum;
	}

	public boolean isAgainSearch() {
		return againSearch;
	}

	public void setAgainSearch(boolean againSearch) {
		this.againSearch = againSearch;
	}

	public String getRule() {
		return rule;
	}

	public void setRule(String rule) {
		this.rule = rule;
	}

	public String getTmepUrl() {
		return tmepUrl;
	}

	public void setTmepUrl(String tmepUrl) {
		this.tmepUrl = tmepUrl;
	}

	@Override
	public String toString() {
		return "RequestParamsBean [url=" + url + ", againSearch=" + againSearch + ", rule=" + rule + ", cron=" + cron
				+ ", regular=" + regular + ", page=" + page + ", threadNum=" + threadNum + ", jobName=" + jobName
				+ ", jobGroup=" + jobGroup + ", timeOut=" + timeOut + ", host=" + host + ", retriesNum=" + retriesNum
				+ ", tmepUrl=" + tmepUrl + "]";
	}
}